package com.xyyl.patient.entity.order;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * @projectName:xyyl-patient-service
 * @ClassName: ConsultOrder
 * @Description: 咨询订单
 * @author chens
 * @date 2017年8月18日
 *
 */
public class ConsultOrder implements Serializable {

	private static final long serialVersionUID = 1L;

	private Integer id;

	private String createtime;

	private Integer iscommented;

	private String memberbirthday;

	private String membername;

	private Integer membersex;

	private String ordersn;

	private BigDecimal payamount;

	private String payordersn;

	/** 支付方式 0：支付宝； 1 ：微信支付； 2：余额支付 3:组合付款 **/
	private Integer paytype;

	private String paytime;

	private Integer residuals;

	private Integer status;

	private String updatetime;

	private Integer archivesid;

	private Integer userid;

	private Integer buyerid;

	private Integer doctorid;

	private Integer snapshotid;

	private Integer isprescribed;

	/** 提问内容 **/
	private String questionbody;

	/** 问题附件路径 **/
	private String questionfiles;

	private String openid;

	/** 支付详情 **/
	private String body;

	/** 订单详情 **/
	private String orderDetail;

	/** 账户余额扣除的金额 **/
	private BigDecimal balanceAmount;

	/** 支付平台扣除的金额 **/
	private BigDecimal platformAmount;

	private Integer orderType;

	public Integer getOrderType() {
		return orderType;
	}

	public void setOrderType(Integer orderType) {
		this.orderType = orderType;
	}

	public String getBody() {
		return body;
	}

	public void setBody(String body) {
		this.body = body;
	}

	public String getOpenid() {
		return openid;
	}

	public void setOpenid(String openid) {
		this.openid = openid;
	}

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getCreatetime() {
		return createtime;
	}

	public void setCreatetime(String createtime) {
		this.createtime = createtime == null ? null : createtime.trim();
	}

	public Integer getIscommented() {
		return iscommented;
	}

	public void setIscommented(Integer iscommented) {
		this.iscommented = iscommented;
	}

	public String getMemberbirthday() {
		return memberbirthday;
	}

	public void setMemberbirthday(String memberbirthday) {
		this.memberbirthday = memberbirthday == null ? null : memberbirthday.trim();
	}

	public String getMembername() {
		return membername;
	}

	public void setMembername(String membername) {
		this.membername = membername == null ? null : membername.trim();
	}

	public Integer getMembersex() {
		return membersex;
	}

	public void setMembersex(Integer membersex) {
		this.membersex = membersex;
	}

	public String getOrdersn() {
		return ordersn;
	}

	public void setOrdersn(String ordersn) {
		this.ordersn = ordersn == null ? null : ordersn.trim();
	}

	public BigDecimal getPayamount() {
		return payamount;
	}

	public void setPayamount(BigDecimal payamount) {
		this.payamount = payamount;
	}

	public String getPayordersn() {
		return payordersn;
	}

	public void setPayordersn(String payordersn) {
		this.payordersn = payordersn == null ? null : payordersn.trim();
	}

	public Integer getPaytype() {
		return paytype;
	}

	public void setPaytype(Integer paytype) {
		this.paytype = paytype;
	}

	public String getPaytime() {
		return paytime;
	}

	public void setPaytime(String paytime) {
		this.paytime = paytime == null ? null : paytime.trim();
	}

	public Integer getResiduals() {
		return residuals;
	}

	public void setResiduals(Integer residuals) {
		this.residuals = residuals;
	}

	public Integer getStatus() {
		return status;
	}

	public void setStatus(Integer status) {
		this.status = status;
	}

	public String getUpdatetime() {
		return updatetime;
	}

	public void setUpdatetime(String updatetime) {
		this.updatetime = updatetime == null ? null : updatetime.trim();
	}

	public Integer getArchivesid() {
		return archivesid;
	}

	public void setArchivesid(Integer archivesid) {
		this.archivesid = archivesid;
	}

	public Integer getUserid() {
		return userid;
	}

	public void setUserid(Integer userid) {
		this.userid = userid;
	}

	public Integer getDoctorid() {
		return doctorid;
	}

	public void setDoctorid(Integer doctorid) {
		this.doctorid = doctorid;
	}

	public Integer getSnapshotid() {
		return snapshotid;
	}

	public void setSnapshotid(Integer snapshotid) {
		this.snapshotid = snapshotid;
	}

	public Integer getIsprescribed() {
		return isprescribed;
	}

	public void setIsprescribed(Integer isprescribed) {
		this.isprescribed = isprescribed;
	}

	public String getOrderDetail() {
		return orderDetail;
	}

	public void setOrderDetail(String orderDetail) {
		this.orderDetail = orderDetail;
	}

	public String getQuestionbody() {
		return questionbody;
	}

	public void setQuestionbody(String questionbody) {
		this.questionbody = questionbody;
	}

	public String getQuestionfiles() {
		return questionfiles;
	}

	public void setQuestionfiles(String questionfiles) {
		this.questionfiles = questionfiles;
	}

	public Integer getBuyerid() {
		return buyerid;
	}

	public void setBuyerid(Integer buyerid) {
		this.buyerid = buyerid;
	}

	public BigDecimal getBalanceAmount() {
		return balanceAmount;
	}

	public void setBalanceAmount(BigDecimal balanceAmount) {
		this.balanceAmount = balanceAmount;
	}

	public BigDecimal getPlatformAmount() {
		return platformAmount;
	}

	public void setPlatformAmount(BigDecimal platformAmount) {
		this.platformAmount = platformAmount;
	}

}